package com.example.mapper;
import com.example.pojo.JobDemand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 岗位需求计划表 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-04-10
 */
@Mapper
@Repository
public interface JobDemandMapper extends BaseMapper<JobDemand> {

    List<JobDemand> selectPotiname();

    /**
     * 查询发布部门的员工
     */
    @MapKey("eid")
    List<Map<String,Object>> selByJob();
}
